package com.bjdd.jdy.ui.signScan;

import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.util.Api;
import com.bjdd.jdy.util.RxSchedulers;

import rx.Observable;

/**
 * Created by Administrator on 2017/5/8.
 */

public class SignScanModel implements SignScanContract.Model {
    @Override
    public Observable<BaseResult<String>> getCodeData(String token, String orderId) {
        return Api.getInstance().service
                .qrCodeSign(token,orderId)
                .compose(RxSchedulers.io_main());
    }
}
